package com.kws.tool.service;


import com.kws.system.api.domain.QuerySignUrlRq;
import com.kws.tool.dto.*;
import com.kws.tool.dto.info.*;

import java.util.List;

public interface ElectronicSignatureService {
    QueryFileUploadUrlInfo getFileUploadUrl(QueryFileUploadRq rq) throws Exception;

    QueryFileUploadStatusInfo queryFileUploadStatus(String fileId) throws Exception;

    QueryTemplateMakingInfo queryTemplateMaking(QueryTemplateMakingRq rq) throws Exception;

    List<String> createControlGroup(CreateControlGroupRq rq) throws Exception;

    QueryTemplateControlInfo queryTemplateControl(String docTemplateId) throws Exception;

    QueryTemplateFillInUrlInfo queryTemplateFillInUrl(QueryTemplateFillInUrlRq rq) throws Exception;

    QuerySignContractInfo querySignContract(QuerySignContractRq rq) throws Exception;

    QuerySignPageInfo querySignPageUrl(QuerySignPageRq rq) throws Exception;

    QuerySigningProcessInfo querySigningProcess(String signFlowId) throws Exception;

    boolean completedSigningPProcess(String signFlowId) throws Exception;

    DownloadSignContractInfo downloadSignContract(String signFlowId) throws Exception;

    QuerySignUrlInfo getSignUrl(QuerySignUrlRq rq) throws Exception;
}
